package com.portal.incurridos.persistence.dao;

import com.portal.incurridos.persistence.enumeration.StateTransactionEnum;
import com.portal.incurridos.persistence.wall.Project;

/**
 * @author Alan Dávila
 * e-mail ustargab@gmail.com
 * date 14/11/2013 23:22:57
 */
public interface ProjectDao {

	/**
	 * Create a new project.
	 * @param project Object with the information.
	 * @return State of operation.
	 */
	Project create(final Project project);
	/**
	 * Update a existing project.
	 * @param project Object with the information.
	 * @return State of operation.
	 */
	StateTransactionEnum update(final Project project);
	/**
	 * Delete a existing project.
	 * @param project Object with the information.
	 * @return State of operation.
	 */
	StateTransactionEnum delete(final Project project);
	/**
	 * Get the project information.
	 * @param project Identifier of project.
	 * @return Object with the project information.
	 */
	Project get(final Integer project);
}
